package com.java.day02;

import java.util.Scanner;


/**
 * 如果身上余额大于100元。中午吃饭加个鸡腿，否则泡面
 * */
public class Demo2 {
    public static void main(String[] args) {
        System.out.println("请输入金额:");
        Scanner sc = new Scanner(System.in);

        double money = sc.nextDouble();

        if(money>100){
            System.out.println("中午加个鸡腿");
        }else{
            System.out.println("中午吃泡面");
        }
    }
}
